#ifndef _DISP_LIGHTMANAGER_H_
#define _DISP_LIGHTMANAGER_H_

#include "Light.h"

class CLightManager
{
public:
	CLightManager();
	~CLightManager(){m_lights.clear();}

	void SetAmbientLight(float ambLight[]);
	void AddNewLight(const CLight l){m_lights.push_back(l);}
	void ClearAllLights(){DisableAllLights();m_lights.clear();}
	void EnableAllLights();
	void DisableAllLights();

public:
	CLight* GetLight(int index) {return &m_lights[index];}
protected:
private:
	vector<CLight> m_lights;
	float m_ambientLight[4];
};


#endif